/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package soundcontrol.soap;

import javazoom.jl.player.Player;


/**
 *
 * @author Lianowar
 */
public class StopThread implements Runnable {

    private Player play;
    public StopThread(Player pPlay )
    {
       this.play = pPlay;
    }
    
    @Override
    public void run()
    {
        System.out.print(play.toString());
        play.close();
    }
    
}
